using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "HealEffect",menuName = "ItemEffect/HealEffect")]
public class HealEffect : ItemEffect
{
    [SerializeField]private int value;

    protected override void Effect(Transform _effectPos)
    {
        player = PlayerManager.Instance.Player;
        player.data.ChangeHealthBy(value, true);
    }
}
